package com.task.core.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.task.common.domain.info.KeyAndValue;
import com.task.core.domain.ConversionsInfo;
import com.task.core.dto.request.ConversionsRequestDTO;

/**
 * @author 迪迦.
 * @date 2024/11/4 14:27
 */
@Mapper
public interface ConversionsMapper {

  List<ConversionsInfo> getConversionsByPage(ConversionsRequestDTO request);

  ConversionsInfo getConversionsByCode(ConversionsRequestDTO request);

  void addConversions(ConversionsRequestDTO request);

  //void modifyConversions(ConversionsRequestDTO request);

  void deleteConversions(@Param("code") String refererSourceCode, @Param("userId") Long userId);
}
